package com.jzo2o.foundations.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzo2o.foundations.model.domain.Serve;
import com.jzo2o.foundations.model.dto.response.ServeResDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务表 Mapper 接口
 * </p>
 *
 * @author mr.wu
 * @since 2025-09-07
 */
public interface ServeMapper extends BaseMapper<Serve> {


    /**
     * 根据区域ID查询服务分页列表
     * @param regionId
     * @return
     */
    List<ServeResDTO> queryServeListByRegionId(@Param("regionId") Long regionId);
}
